//
//  ViewController.m
//  CloverImgClick
//
//  Created by bita on 16/4/25.
//  Copyright © 2016年 Clover. All rights reserved.
//

#import "ViewController.h"
#import "CloverImgClick.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet CloverImgClick *imageView;/**<storyboard直接添加的imageView*/
@property (weak, nonatomic) IBOutlet UIButton *imageBtn;
@property (nonatomic, strong) CloverImgClick * showImageView;/**<用于展示的view*/
@end
//self.checkPhotoView  = [[JJRImageClick alloc]initWithFrame:self.thumbnailBtn.frame];
//[_checkPhotoView showImageView:self.thumbnailBtn originalImage:self.thumbnailBtn.currentBackgroundImage];
@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)showImage:(id)sender {
    self.showImageView  = [[CloverImgClick alloc]initWithFrame:self.imageBtn.frame];
    [self.showImageView showImageView:self.imageBtn originalImage:self.imageBtn.currentBackgroundImage];
}

@end
